#!/bin/sh
DEBUG='classvideo-server:* mediasoup:*'

if [ -f "server.js" ]
then
	        node server.js --cert certs/7808707_live.leanhome.net.pem --key certs/7808707_live.leanhome.net.key --eth ens33 --localIp 192.168.117.135 --publicIp 192.168.117.135;
	elif [ -f "server.ts" ]
	then
        ts-node server.ts --cert certs/7808707_live.leanhome.net.pem --key certs/7808707_live.leanhome.net.key --eth ens33 --localIp 192.168.117.135 --publicIp 192.168.117.135;
		else
		     echo
		 echo "Do not find executable file"
		fi
